#!/bin/bash

# php-fpm
echo 'env.sh_start'



echo 'crond start'
crond

echo 'curl localhost start'
# sleep 10s ;curl localhost/index.php/onetoken & 
sleep 10s && curl localhost/index.php/onetoken &

# echo 'docker-php-entrypoint start'
# docker-php-entrypoint


echo 'supervisord start'
/usr/bin/supervisord -n -c /etc/supervisord.conf


echo 'env.sh_end'

